//
//  NSDate+XKLConpareTime.h
//  GuiZiShouDuanZi
//
//  Created by xmg on 16/5/6.
//  Copyright © 2016年 xiao_kl. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSDate (XKLConpareTime)
/*比较两个时间相差多少*/
-(NSDateComponents *)deltaFrom;
/*是否是同一年*/
-(BOOL)isYear;
/*是否是同一天*/
-(BOOL)isToday;
/*是否是昨天*/
-(BOOL)isYesterday;
@end
